Skip to content

fix(rollup): update cwc rollup config#9854

Merged
kodiakhq[bot] merged 2 commits intocarbon-design-system:mainfrom
kennylam:fix/rollup-replace-options
Jan 4, 2023
Merged

fix(rollup): update cwc rollup config#9854
kodiakhq[bot] merged 2 commits intocarbon-design-system:mainfrom
kennylam:fix/rollup-replace-options

Conversation

@kennylam
Copy link
Copy Markdown
Member

Description

Update carbon-web-components rollup config to suppress the following warning:

@rollup/plugin-replace: 'preventAssignment' currently defaults to false. It is recommended to set this option to `true`, as the next major version will default this option to `true`.

Changelog

Changed

  • set preventAssignment: true

@ibmdotcom-bot
Copy link
Copy Markdown
Contributor

ibmdotcom-bot commented Dec 22, 2022

@ibmdotcom-bot
Copy link
Copy Markdown
Contributor

ibmdotcom-bot commented Dec 22, 2022

@ibmdotcom-bot
Copy link
Copy Markdown
Contributor

ibmdotcom-bot commented Dec 22, 2022

@ibmdotcom-bot
Copy link
Copy Markdown
Contributor

ibmdotcom-bot commented Dec 22, 2022

@ibmdotcom-bot
Copy link
Copy Markdown
Contributor

ibmdotcom-bot commented Dec 22, 2022

Copy link
Copy Markdown
Member

@emyarod emyarod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me!

@kennylam kennylam added the Ready to merge Label for the pull requests that are ready to merge label Jan 3, 2023
@kodiakhq kodiakhq bot merged commit ca282b3 into carbon-design-system:main Jan 4, 2023
@kennylam kennylam deleted the fix/rollup-replace-options branch January 4, 2023 13:55
kennylam added a commit to kennylam/carbon-for-ibm-dotcom that referenced this pull request Dec 4, 2023
### Description

Update `carbon-web-components` rollup config to suppress the following warning:
```
@rollup/plugin-replace: 'preventAssignment' currently defaults to false. It is recommended to set this option to `true`, as the next major version will default this option to `true`.
```

### Changelog

**Changed**

- set `preventAssignment: true` 

<!-- React and Web Component deploy previews are enabled by default. -->
<!-- To enable additional available deploy previews, apply the following -->
<!-- labels for the corresponding package: -->
<!-- *** "test: e2e": Codesandbox examples and e2e integration tests -->
<!-- *** "package: services": Services -->
<!-- *** "package: utilities": Utilities -->
<!-- *** "RTL": React / Web Components (RTL) -->
<!-- *** "feature flag": React / Web Components (experimental) -->
kennylam added a commit to kennylam/carbon-for-ibm-dotcom that referenced this pull request Jun 11, 2024
### Description

Update `carbon-web-components` rollup config to suppress the following warning:
```
@rollup/plugin-replace: 'preventAssignment' currently defaults to false. It is recommended to set this option to `true`, as the next major version will default this option to `true`.
```

### Changelog

**Changed**

- set `preventAssignment: true` 

<!-- React and Web Component deploy previews are enabled by default. -->
<!-- To enable additional available deploy previews, apply the following -->
<!-- labels for the corresponding package: -->
<!-- *** "test: e2e": Codesandbox examples and e2e integration tests -->
<!-- *** "package: services": Services -->
<!-- *** "package: utilities": Utilities -->
<!-- *** "RTL": React / Web Components (RTL) -->
<!-- *** "feature flag": React / Web Components (experimental) -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: carbon web components Ready to merge Label for the pull requests that are ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants